/*
 * This file is part of ksPlatform
 * 
 * Copyright (c) 2014-2015
 * 
 * This file is dual-licensed under the AGPLv3 (http://www.gnu.org/licenses/agpl-3.0.html) 
 * 
 * If you are unsure which license is appropriate for your use, please contact the sales department
 * at 97041437@qq.com.
 */

package cn.com.ksplatform.modules.system.auth.parammanager.service;

import javax.transaction.Transactional;

import org.springframework.stereotype.Repository;

import cn.com.ksplatform.base.service.BaseService;
import cn.com.ksplatform.modules.system.auth.parammanager.model.PlatParamType;

/**
 * @ClassName:PlatParamTypeService <br/>
 * @deprecated:TODO. <br/>
 * @Date: 2015年5月25日 下午2:16:57 <br/>
 * 
 * @author Mr.Luoxing
 * @version 1.0
 */
@Repository("system.modules.system.PlatParamTypeService")
public class PlatParamTypeService extends BaseService {

	@Transactional
	public PlatParamType save(PlatParamType entity) {
		String id = entity.save();
		entity.setId(id);
		return entity;
	}

	@Transactional
	public PlatParamType update(PlatParamType entity) {
		return entity.update();
	}

	@Transactional
	public PlatParamType delete(PlatParamType entity) {
		return entity.delete();
	}

	@Transactional
	public PlatParamType saveOrUpdate(PlatParamType entity) {
		return entity.saveOrUpdate();
	}
}
